namespace Foreglance.MVP.Entities
{
    public class Person
    {
        public Person(string surname, string name, int age)
        {
            Surname = surname;
            Name = name;
            Age = age;
        }

        public string Surname { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }

        public override string ToString()
        {
            return string.Format("{0}|{1}|{2}", Name,Surname,Age);
        }
    }
}